import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

// Vant2
import Vant from 'vant';
import 'vant/lib/index.css';
import { Sticky } from 'vant';

Vue.use(Sticky)

Vue.use(Vant);

// 样式重置
import "reset.css"

import { Area } from 'vant';

Vue.use(Area);

import 'reset.css'
Vue.config.productionTip = false
router.afterEach((to, from, next) => {
  window.scrollTo(0, 0)
})
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
